/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author XuanHung
 */
public  class clsPalindrome {
  
    private static boolean KiemTra(String chrI, String chrJ){
        if(chrI == null ? chrJ != null : !chrI.equals(chrJ))
            return false;
        return true;
    }
    public static void KiemTra(int iN){
        String  n = String.valueOf(iN);
        String [] nc = n.split("", 1);
        for(int i = 0; i <= nc.length; i++){
            for(int j = i+1; j < nc.length; j++){
                if(!KiemTra(nc[i],nc[j])){
                    System.out.println("K laSo palindrome");
                    return;
                }
                
                    
            }
        }
        System.out.println("So palindrome");
    }
}
